<div class="addresses view">
    <h2><?php echo __('Address'); ?></h2>
    <dl>
        <dt><?php echo __('Id'); ?></dt>
        <dd>
            <?php echo h($address['Address']['id']); ?>
            &nbsp;
        </dd>
        <dt><?php echo __('User'); ?></dt>
        <dd>
            <?php echo $this->Html->link($address['User']['id'], array('controller' => 'users', 'action' => 'view', $address['User']['id'])); ?>
            &nbsp;
        </dd>
        <dt><?php echo __('Is Primary'); ?></dt>
        <dd>
            <?php echo h($address['Address']['is_primary']); ?>
            &nbsp;
        </dd>
        <dt><?php echo __('Mailing Address'); ?></dt>
        <dd>
            <?php echo h($address['Address']['mailing_address']); ?>
            &nbsp;
        </dd>
        <dt><?php echo __('Apt No'); ?></dt>
        <dd>
            <?php echo h($address['Address']['apt_no']); ?>
            &nbsp;
        </dd>
        <dt><?php echo __('City'); ?></dt>
        <dd>
            <?php echo h($address['Address']['city']); ?>
            &nbsp;
        </dd>
        <dt><?php echo __('State'); ?></dt>
        <dd>
            <?php echo $this->Html->link($address['State']['title'], array('controller' => 'states', 'action' => 'view', $address['State']['id'])); ?>
            &nbsp;
        </dd>
        <dt><?php echo __('Zip'); ?></dt>
        <dd>
            <?php echo h($address['Address']['zip']); ?>
            &nbsp;
        </dd>
        <dt><?php echo __('No Of Aduldts'); ?></dt>
        <dd>
            <?php echo h($address['Address']['no_of_aduldts']); ?>
            &nbsp;
        </dd>
        <dt><?php echo __('No Of Children'); ?></dt>
        <dd>
            <?php echo h($address['Address']['no_of_children']); ?>
            &nbsp;
        </dd>
        <dt><?php echo __('Is Allowed Mail'); ?></dt>
        <dd>
            <?php echo h($address['Address']['is_allowed_mail']); ?>
            &nbsp;
        </dd>
    </dl>
</div>
<div class="actions">
    <h3><?php echo __('Actions'); ?></h3>
    <ul>
        <li><?php echo $this->Html->link(__('Edit Address'), array('action' => 'edit', $address['Address']['id'])); ?> </li>
        <li><?php echo $this->Form->postLink(__('Delete Address'), array('action' => 'delete', $address['Address']['id']), null, __('Are you sure you want to delete # %s?', $address['Address']['id'])); ?> </li>
        <li><?php echo $this->Html->link(__('List Addresses'), array('action' => 'index')); ?> </li>
        <li><?php echo $this->Html->link(__('New Address'), array('action' => 'add')); ?> </li>
        <li><?php echo $this->Html->link(__('List Users'), array('controller' => 'users', 'action' => 'index')); ?> </li>
        <li><?php echo $this->Html->link(__('New User'), array('controller' => 'users', 'action' => 'add')); ?> </li>
        <li><?php echo $this->Html->link(__('List States'), array('controller' => 'states', 'action' => 'index')); ?> </li>
        <li><?php echo $this->Html->link(__('New State'), array('controller' => 'states', 'action' => 'add')); ?> </li>
    </ul>
</div>
